<?php

/**
 * Description of Bootstrap
 *
 * @author     Mon Zafra <monzee at gmail>
 * @copyright  (c)2009 Mon Zafra
 * @category   Mz
 * @package
 * @license    http://mz-project.googlecode.com/svn/trunk/LICENSE   MIT License
 * @version    SVN: $Id$
 */
class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{
    protected function _initFrontController()
    {
        $front = Mz_Controller_Page::getInstance();

        $request = new Zend_Controller_Request_Http();
        $request->setBaseUrl('/zf-pc')
                ->setRequestUri($_SERVER['PHP_SELF']);

        $front->setRequest($request);

        $router = $front->getRouter();
        return $front;
    }

}